namespace Box {
    public enum ProcessTreeTaskStatus {
        //正在激活时
        Activate,
        //暂停时
        Stop,
        //执行完毕时
        Complete,
        //锁定中(保持当前的所有其他状态，并且无法操作Task)
        Lock,
    }
    public interface IProcessTreeTask {
        public ProcessTreeTaskStatus Status {get;set;}
        public void Init();
        public bool Execute(double delta);
        public void onActivate();
        public void onStop();
        public void onComplete();
        public void onLock();
    }
}